package cate.common.table.farm.udgpalace.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.util.random.RWItem;

@EExcelRowClass
public class UdgPalaceShopRow extends ERow implements RWItem {
    @EExcelNoteField(fieldName = "商店ID")
    public int group;

    @EExcelNoteField(fieldName = "商品")
    public String rewardStr;

    @EExcelNoteField(fieldName = "所需货币")
    public String consumeStr;

    @EExcelNoteField(fieldName = "商品概率")
    public double weight;

    @EExcelNoteField(fieldName = "本期限购次数")
    public int limit;

    @Override
    public double getWeight() {
        return weight;
    }
}
